/*
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. 
 */
package com.icinfo.cloud.provider.punish.config.service;

import com.icinfo.cloud.provider.punish.config.dto.ConfigOrgDecideBasisInfoDto;
import com.icinfo.cloud.provider.punish.config.dto.ConfigOrgDecideBasisInfoQueryDto;
import com.icinfo.cloud.provider.punish.config.model.ConfigOrgDecideBasisInfo;
import com.icinfo.framework.common.web.Result;
import com.icinfo.framework.core.service.BaseService;

import java.util.List;

/**
 * 描述: 机构判定依据配置表 config_org_decide_basis_info 对应的Service接口.<br>
 *
 * @author framework generator
 * @date 2022年07月08日
 */
public interface IConfigOrgDecideBasisInfoService extends BaseService {

    /**
     * 描述： 保存部门判定依据配置信息
     *
     * @author: zhengqiang
     * @date: 2022/7/11
     * @param: saveDto
     * @return {@link Result< String>}
     **/
    Result<String> saveDeptDecideBasisConfigInfo(ConfigOrgDecideBasisInfoDto saveDto);

    /**
     * 描述： 查询部门判定依据配置信息
     *
     * @author: zhengqiang
     * @date: 2022/7/11
     * @param: queryDto
     * @return {@link ConfigOrgDecideBasisInfo}
     **/
    ConfigOrgDecideBasisInfo getOrgDecideBasisInfo(ConfigOrgDecideBasisInfoQueryDto queryDto);

    /***
     * 描述： 校验案件是否符合机构配置判定依据
     *
     * @author: zhengqiang
     * @date: 2022/7/11
     * @param: caseId
     * @param: decideBasisType
     * @param: punishKindsList
     * @param: draftPunishMoney
     * @param: confiscateIllegalMoney
     * @param: partyType
     * @return {@link String} 0:否;1是
     **/
    String checkIsNeedByConfigOrgDecideBasis(String caseId, String decideBasisType, List<String> punishKindsList, String draftPunishMoney, String confiscateIllegalMoney, String partyType, String confiscateIllegalPropertyValue);

}